package com.yb0os1.minispring.design;

import com.yb0os1.minispring.anno.Component;

@Component
public class MyBeanPostProcessor implements BeanPostProcessor{
    @Override
    public Object beforeInitializeBean(Object bean, String beanName) {

        return bean;
    }

    @Override
    public Object afterInitializeBean(Object bean, String beanName) {
        System.out.println(beanName +"初始化完成了！！！");
        return bean;
    }
}
